inspector: Use the new list style classes
authorMatthias Clasen <mclasen@redhat.com>
Wed, 5 Aug 2020 20:43:12 +0000 (16:43 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 13 Aug 2020 20:30:21 +0000 (16:30 -0400)
Set .rich-list and .data-table on lists, as appropriate.

gtk/inspector/general.ui
gtk/inspector/object-tree.ui
gtk/inspector/prop-list.ui
gtk/inspector/resource-list.ui
gtk/inspector/visual.ui

index b8d5455f271ce49e71d1d452a06c9f4332981e77..d2b6f00f75a2b0a712cbcddfd2187bdc568defa0 100644 (file)
@@ -18,6 +18,9 @@
                 <child>
                   <object class="GtkListBox" id="version_box">
                     <property name="selection-mode">none</property>
+                    <style>
+                      <class name="rich-list"/>
+                    </style>
                     <child>
                       <object class="GtkListBoxRow">
                         <property name="activatable">0</property>
                 <child>
                   <object class="GtkListBox" id="env_box">
                     <property name="selection-mode">none</property>
+                    <style>
+                      <class name="rich-list"/>
+                    </style>
                     <child>
                       <object class="GtkListBoxRow">
                         <property name="activatable">0</property>
                 <child>
                   <object class="GtkListBox" id="display_box">
                     <property name="selection-mode">none</property>
+                    <style>
+                      <class name="rich-list"/>
+                    </style>
                     <child>
                       <object class="GtkListBoxRow">
                         <property name="activatable">0</property>
                 <child>
                   <object class="GtkListBox" id="monitor_box">
                     <property name="selection-mode">none</property>
+                    <style>
+                      <class name="rich-list"/>
+                    </style>
                   </object>
                 </child>
               </object>
                 <child>
                   <object class="GtkListBox" id="gl_box">
                     <property name="selection-mode">none</property>
+                    <style>
+                      <class name="rich-list"/>
+                    </style>
                     <child>
                       <object class="GtkListBoxRow">
                         <property name="activatable">0</property>
                 <child>
                   <object class="GtkListBox" id="vulkan_box">
                     <property name="selection-mode">none</property>
+                    <style>
+                      <class name="rich-list"/>
+                    </style>
                     <child>
                       <object class="GtkListBoxRow">
                         <property name="activatable">0</property>
                 <child>
                   <object class="GtkListBox" id="device_box">
                     <property name="selection-mode">none</property>
+                    <style>
+                      <class name="rich-list"/>
+                    </style>
                   </object>
                 </child>
               </object>
index 06e7229e5965717ba3756838e65592f3328b44fc..7362079eb45b43333d6a43a5ea581f8e1e1fec25 100644 (file)
@@ -42,6 +42,9 @@
         <child>
           <object class="GtkColumnView" id="list">
             <signal name="activate" handler="on_row_activated"/>
+            <style>
+              <class name="data-table"/>
+            </style>
             <child>
               <object class="GtkColumnViewColumn">
                 <property name="title">Type</property>
index 15ccf2e2e9cbb73bad154814e5084af883a2ddf6..54285d9b616001805d1a3874ec5cafe56630e58f 100644 (file)
@@ -16,7 +16,7 @@
             <child>
               <object class="GtkColumnView" id="list">
                 <style>
-                  <class name="list"/>
+                  <class name="data-table"/>
                 </style>
                 <child>
                   <object class="GtkColumnViewColumn" id="name">
index e94fb2930a8157b730f52f993ed3bf67fb9bd8b3..3c558da4208d18871103aa7e9bb1687d7f8128ca 100644 (file)
@@ -51,6 +51,9 @@
                     <child>
                       <object class="GtkColumnView" id="list">
                         <signal name="activate" handler="on_row_activated"/>
+                        <style>
+                          <class name="data-table"/>
+                        </style>
                         <child>
                           <object class="GtkColumnViewColumn" id="path">
                             <property name="title" translatable="yes">Path</property>
index 223bdb3911aae184e7bed3bc6a641e930389763d..3a0454753699352d5f28810bb1ea60fe8274e426 100644 (file)
@@ -46,7 +46,7 @@
                       <object class="GtkListBox" id="visual_box">
                         <property name="selection-mode">none</property>
                         <style>
-                          <class name="view"/>
+                          <class name="rich-list"/>
                         </style>
                         <child>
                           <object class="GtkListBoxRow">
                       <object class="GtkListBox" id="debug_box">
                         <property name="selection-mode">none</property>
                         <property name="show-separators">1</property>
+                        <style>
+                          <class name="rich-list"/>
+                        </style>
                         <child>
                           <object class="GtkListBoxRow">
                             <child>
                       <object class="GtkListBox" id="misc_box">
                         <property name="selection-mode">none</property>
                         <property name="show-separators">1</property>
+                        <style>
+                          <class name="rich-list"/>
+                        </style>
                         <child>
                           <object class="GtkListBoxRow">
                             <child>